#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include "callbacks.h"
#include "interface.h"
#include "support.h"
#include "file_attente.c"


void on_button1_clicked (GtkWidget  *objet_grafique, gpointer  user_data)
{
GtkWidget *entry1;
GtkWidget *entry2;
GtkWidget *window2;

entry1 = lookup_widget(objet_grafique, "entry1");
entry2 = lookup_widget(objet_grafique, "entry2");

window2 = create_window2();
gtk_widget_show(window2);

}


void on_button5_clicked (GtkWidget  *objet_grafique,gpointer user_data)
{
GtkWidget *window6;
window6= create_window6();
gtk_widget_show(window6);
}


void on_button2_clicked(GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window4;
window4= create_window4();
gtk_widget_show(window4);
}


void on_button3_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window3;
window3= create_window3();
gtk_widget_show(window3);
}


void on_button4_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window5;
window5= create_window5();
gtk_widget_show(window5);
}


void on_button6_clicked (GtkWidget  *objet_grafique, gpointer  user_data)
{
gtk_main_quit();
}


void on_button10_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button11_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button12_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button14_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button15_clicked (GtkWidget  *objet_grafique, gpointer  user_data)
{

}


void on_button16_clicked  (GtkWidget  *objet_grafique,gpointer user_data)
{

}


void on_button13_clicked  (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button17_clicked  (GtkWidget  *objet_grafique, gpointer  user_data)
{

}


void on_button18_clicked (GtkWidget  *objet_grafique,gpointer user_data)
{

}


void on_button19_clicked (GtkWidget  *objet_grafique, gpointer  user_data)
{

}


void on_button20_clicked  (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button22_clicked  (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button23_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button24_clicked  (GtkWidget  *objet_grafique, gpointer  user_data)
{

}


void on_button21_clicked  (GtkWidget  *objet_grafique, gpointer  user_data)
{

}


void on_button25_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button26_clicked (GtkWidget  *objet_grafique,gpointer user_data)
{
GtkWidget *window7;
window7= create_window7();
gtk_widget_show(window7);
}


void on_button27_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window8;
window8= create_window8();
gtk_widget_show(window8);
}


void on_button28_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window9;
GtkWidget *window5;
window9= create_window9();
gtk_widget_show(window9);
gtk_widget_close(window5);
}


void on_button29_clicked  (GtkWidget  *objet_grafique, gpointer  user_data)
{
GtkWidget *window10;
window10= create_window10();
gtk_widget_show(window10);
}


void on_button30_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window2;
window2= create_window2();
gtk_widget_show(window2);
}


void on_button32_clicked  (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window2;
window2= create_window2();
gtk_widget_show(window2);
}


void on_button31_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button34_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button35_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window5;
window5= create_window5();
gtk_widget_show(window5);
}


void on_button36_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button37_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window5;
window5= create_window5();
gtk_widget_show(window5);
}


void on_button38_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button39_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window5;
window5= create_window5();
gtk_widget_show(window5);
}


void on_button40_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window11;
window11= create_window11();
gtk_widget_show(window11);
}


void on_button41_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

}


void on_button42_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{

GtkWidget *window5;
window5= create_window5();
gtk_widget_show(window5);

}


void on_button33_clicked (GtkWidget  *objet_grafique, gpointer user_data)
{
GtkWidget *window5;
window5= create_window5();
gtk_widget_show(window5);
}


void on_button43_clicked (GtkWidget  *objet_grafique, gpointer  user_data)
{
int NBRL;
GtkWidget  *entry4;
entry4 = lookup_widget(objet_grafique, "entry4");
NBRL=atoi (gtk_entry_get_text(GTK_ENTRY(entry4)));
taillefil();
}


void on_button44_clicked  (GtkButton       *button, gpointer user_data)
 {
int NBRL;
char Buf0[50] = "NBR de lit: ";
 

 GtkWidget * label25;
 
 label25= lookup_widget(objet_grafique, "label25");

 
 sprintf(Buf0, " %d \n\n", Buf0, NBRL);

gtk_label_set_text(GTK_LABEL(label25), Buf0);

}

